﻿using MeiRiCai.Sdk;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace MeiRiCai.App.Workers
{
	class DemoWorker : BackgroundWorker
	{
		protected override void OnDoWork(DoWorkEventArgs e)
		{
			base.OnDoWork(e);

			LotteryDrawClient client = new LotteryDrawClient();
			e.Result = client.GetLatestLotteryDraws(10, 1);
		}

		protected override void OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
		{
			base.OnRunWorkerCompleted(e);

			
		}
	}
}
